package com.gw.smscheck.entity.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
* sys_log 实体类
* @author wjy 
* @date 2018-08-13 10:11:39
*/
@ApiModel(value="日志实体类",description="日志实体类")
public class Log extends BasePager implements Serializable{
	private static final long serialVersionUID = -1L;
	/**
	 * 描述
	 */
	@ApiModelProperty(value="描述",name="description")
	private String description ;
	/**
	 * 
	 */
	@ApiModelProperty(value="id",name="id")
	private Integer id ;
	/**
	 * 请求时间
	 */
	@ApiModelProperty(value="请求时间",name="requestTime")
	private String requestTime ;
	/**
	 * 请求人id
	 */
	@ApiModelProperty(value="请求人id",name="requestUser")
	private Integer requestUser ;
	/**
	 * 
	 */
	@ApiModelProperty(value="请求路径",name="url")
	private String url ;
	/**
	 * 状态
	 */
	@ApiModelProperty(value="状态",name="status")
	private Integer status;
	/**
	 * 敏感等级(高/中/低)
	 */
	@ApiModelProperty(value="敏感等级",name="sensitiveType")
	private String sensitiveType;
	/**
	 * 请求类型
	 */
	@ApiModelProperty(value="请求类型",name="requestType")
	private String requestType;
	/**
	 * 请求人名
	 */
	@ApiModelProperty(value="请求人名",name="requestUserName")
	private String requestUserName;
	/**
	 * 请求ip
	 */
	@ApiModelProperty(value="请求ip",name="requestIp")
	private String requestIp;

	public String getRequestIp() {
		return requestIp;
	}

	public void setRequestIp(String requestIp) {
		this.requestIp = requestIp;
	}

	public String getRequestType() {
		return requestType;
	}

	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRequestUserName() {
		return requestUserName;
	}

	public void setRequestUserName(String requestUserName) {
		this.requestUserName = requestUserName;
	}

	public void setDescription(String description){
		this.description=description;
	}
	public String getDescription(){
		return description;
	}

	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}

	public void setRequestTime(String requestTime){
		this.requestTime=requestTime;
	}
	public String getRequestTime(){
		return requestTime;
	}

	public void setRequestUser(Integer requestUser){
		this.requestUser=requestUser;
	}
	public Integer getRequestUser(){
		return requestUser;
	}

	public void setUrl(String url){
		this.url=url;
	}
	public String getUrl(){
		return url;
	}

	public String getSensitiveType() {
		return sensitiveType;
	}

	public void setSensitiveType(String sensitiveType) {
		this.sensitiveType = sensitiveType;
	}

	// 重写Object对象的equals方法
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		} else {
			if (obj == null) {
				return false;
			}
			final Log log = (Log) obj;
			if (this.getId().equals( log.getId() )) {
				return true;
			} else {
				return false;
			}
		}
	}
}

